package com.ycxy.sh.transaction.service;

import com.ycxy.sh.transaction.dao.entity.UserRole;
import com.ycxy.sh.transaction.mapper.UserRoleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hlt
 * @since 2019-12-21
 */
@Transactional
public interface UserRoleService {
    /**插入角色*/
    Integer InsertUserRole(UserRole userRole);
    /**查询角色id*/
    int LookUserRoleId(Long userid);
    /**修改用户的角色*/
    void UpdateUserRole(UserRole userRole);
}
